/**
 * @file styles/controllers/flags.less
 *
 * Copyright (c) 2013 Simon Fraser University Library
 * Copyright (c) 2003-2013 John Willinsky
 * Distributed under the GNU GPL v2. For full terms see the file docs/COPYING.
 *
 * @ingroup pkp_form
 *
 * @brief Flag styles for pkp_form
 */

.pkp_form .localization_popover_container {
	@pkp_form_flag_mixin {
		margin: 0;
		background-repeat: no-repeat;
	}

	@pkp_form_input_flag_mixin {
		background-position: 98% 50%;
	}

	@pkp_form_textArea_flag_mixin {
		background-position: 99.5% 2px;
	}

	input.locale_en_US {
		@pkp_form_flag_mixin;
		@pkp_form_input_flag_mixin;
		background-image: url(../lib/pkp/templates/images/structure/flags/en_US.png) !important;
	}

	input.locale_fr_CA {
		@pkp_form_flag_mixin;
		@pkp_form_input_flag_mixin;
		background-image: url(../lib/pkp/templates/images/structure/flags/fr_CA.png) !important;
	}

	input.locale_te_ST {
		@pkp_form_flag_mixin;
		@pkp_form_input_flag_mixin;
		background-image: url(../lib/pkp/templates/images/structure/flags/te_ST.png) !important;
	}

	textarea.locale_en_US {
		@pkp_form_flag_mixin;
		@pkp_form_textArea_flag_mixin;
		background-image: url(../lib/pkp/templates/images/structure/flags/en_US.png) !important;
	}

	textarea.locale_fr_CA {
		@pkp_form_flag_mixin;
		@pkp_form_textArea_flag_mixin;
		background-image: url(../lib/pkp/templates/images/structure/flags/fr_CA.png) !important;
	}

	textarea.locale_te_ST {
		@pkp_form_flag_mixin;
		@pkp_form_textArea_flag_mixin;
		background-image: url(../lib/pkp/templates/images/structure/flags/te_ST.png) !important;
	}
}
